<?php

/**
 * 项目入口文件
 * Some rights reserved：0x999.com
 * Contact email:admin@0x999.com
 */
//开启调试模式
define("APP_DEBUG", true);
//网站当前路径
define('SITE_PATH', getcwd());
define('APP_NAME', 'ZeroXCMS');
define('APP_PATH', SITE_PATH . '/zeroxcms/');
//定义缓存存放路径
define("RUNTIME_PATH", SITE_PATH . "/runtime/");
//模板路径
define('TEMPLATE_PATH', APP_PATH . 'Template/');
//版本号
define("ZEROXCMS_VERSION", '20130218');
if (!file_exists(APP_PATH.'Conf/dataconfig.php')) {
    header("Location: install/");
    exit;
}
//载入框架核心文件
require APP_PATH.'ThinkPHP/ThinkPHP.php';
?>
